package com.nycreativity.elecreativity.entity.vo.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField
import com.nycreativity.elecreativity.entity.BaseEntity;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty

/**
 * <p>
 * 
 * </p>
 *
 * @author sxt && ttxxi
 * @since 2021-03-11
 */
@ApiModel("登录返回用户对象")
@TableName("user")
data class UserVO(
    /**
     * 凭证
     */
    @ApiModelProperty("凭证")
    @TableField(exist = false)
    var token: String? = null,

    /**
     * id
     */
    @ApiModelProperty("id")
    var id: Long? = null,
    /**
     * 用户名
     */
    @ApiModelProperty("用户名")
    var name: String? = null,

    /**
     * 别名
     */
    @ApiModelProperty("别名")
    var alias: String? = null,

    /**
     * 邮件
     */
    @ApiModelProperty("邮件")
    var email: String? = null,
    /**
     * 手机号码
     */
    @ApiModelProperty("手机号码")
    var phoneNum: String? = null,
    /**
     * 称谓
     */
    @ApiModelProperty("称谓")
    var title: String? = null,
    /**
     * 生日
     */
    @ApiModelProperty("生日")
    var birthday: LocalDateTime? = null,
    /**
     * 用户状态
     */
    @ApiModelProperty("用户状态,0：冻结，1：正常")
    var status: Int? = null

){

}
